package cn.consult.sys.service;

import cn.consult.sys.entity.TPlaceFloor;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * 楼层(TPlaceFloor)表服务接口
 *
 * @author makejava
 * @since 2024-04-01 08:36:15
 */
public interface TPlaceFloorService extends IService<TPlaceFloor> {

    List<TPlaceFloor> getFloosByBulidingId(Long buildingId);

    List<TPlaceFloor> selectByBuildingNameOrNumber(Map<String, Object> params);

    boolean updateFloor(TPlaceFloor tPlaceFloor);

    boolean flagName(String name,String bulidingId);

    boolean deleteFloorById(Long id);

    boolean saveFloor(TPlaceFloor tPlaceFloor);
}

